<include file="Public/min-header" />
<style>
    .col100{width:100px;text-align:center;float:left;display:inline;border-right:1px solid #0080FF;}
    .col150{width:150px;text-align:center;float:left;display:inline;border-right:1px solid #0080FF;}
    .col300{width:300px;text-align:center;float:left;display:inline;border-right:1px solid #0080FF;}
    .coltop{border-top:1px solid #0080FF;}
    .colno{border-right:none;}
    .wrapper{min-height:1000px!important;}
</style>
<div class="wrapper">
    <include file="Public/breadcrumb" />
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box">

                    <div class="box-body">
                        <div class="row">
                            <div class="col-sm-12">
                                <table id="list-table" class="table table-bordered table-striped dataTable">
                                    <thead>
                                    <tr role="row">
                                        <th>ID</th>
                                        <th width="180">订单号</th>
                                        <th>类型</th>
                                        <th>金额</th>
                                        <th>积分</th>
                                        <th>发布时间</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <foreach name="list" item="vo" key="k">
                                        <tr role="row" align="center">
                                            <td style="line-height:34px;">{$vo.id}</td>
                                            <td class="order_sn" align="left" style="position:relative;">
                                                <div style="line-height:34px;">{$vo['order_sn']}</div>
                                            </td>
                                            <td align="left" style="line-height:34px;"><if condition="$vo['type_id'] eq 1">消费<else />充值</if></td>
                                            <td align="left" style="line-height:34px;">{$vo.price}</td>
                                            <td align="left" style="line-height:34px;">{$vo.integral}</td>
                                            <td align="left" style="line-height:34px;">{$vo.add_time|date="Y-m-d H:i:s",###}</td>
                                        </tr>
                                    </foreach>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-6 text-left"></div>
                            <div class="col-sm-6 text-right">{$page}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
</body>
<script>
    $('.order_sn').mouseenter(function(){
        $(this).find('.goods_list').show();
    }).mouseleave(function(){
        $(this).find('.goods_list').hide();
    });
</script>
</html>
